package com.fh.service;

import com.fh.common.TableData;
import com.fh.entity.po.Imgs;
import com.fh.entity.po.Key;
import com.fh.entity.po.Shop;
import com.fh.entity.po.ShopValues;
import com.fh.entity.vo.Result;
import com.fh.entity.vo.ShopVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * 描述:
 * Author:袁亚强
 * Date:2021/11/2511:37
 */
public interface ShopService {
    Shop queryById(Integer id);

    void upShop(Shop shop);

    void addShop(Shop shop);

    Map queryIsSkuData(Integer id);

    void addShops(Shop shop);

    TableData<Shop> queryPageData(ShopVo shopVo);

    List<Imgs> queryImgsById(Integer id);

    void addShopImgs(Integer pid,String imgsList);

    void delImgs(Integer id);

    List<ShopValues> queryShopValuesById(Integer id);

     Map  queryShopValuesByPid(Integer id);

    void deleteShopValues(Integer pid);

    void upValues(Integer pid,String valuess);
}
